//
// Created by james on 2021/10/27.
//
#include <jni.h>
#include <android/native_window_jni.h>
#include "JavaCallHelper.h"


JavaVM* javaVm;
JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved){
    javaVm = vm;
    return JNI_VERSION_1_4;
}

extern "C"
JNIEXPORT jlong JNICALL
Java_com_frameworkc_ffmpeg_FFmpegPlayer_FFmpegInit(JNIEnv *env, jobject thiz) {
    return 0;
}
extern "C"
JNIEXPORT void JNICALL
Java_com_frameworkc_ffmpeg_FFmpegPlayer_prepare(JNIEnv *env, jobject thiz, jlong native_handle) {

}
extern "C"
JNIEXPORT void JNICALL
Java_com_frameworkc_ffmpeg_FFmpegPlayer_start(JNIEnv *env, jobject thiz, jlong native_handle) {

}
extern "C"
JNIEXPORT void JNICALL
Java_com_frameworkc_ffmpeg_FFmpegPlayer_stop(JNIEnv *env, jobject thiz, jlong native_handle) {

}
extern "C"
JNIEXPORT void JNICALL
Java_com_frameworkc_ffmpeg_FFmpegPlayer_setDataSource(JNIEnv *env, jobject thiz,
                                                      jlong native_handle, jstring path) {

}
extern "C"
JNIEXPORT void JNICALL
Java_com_frameworkc_ffmpeg_FFmpegPlayer_setSurface(JNIEnv *env, jobject thiz, jlong native_handle,
                                                   jobject surface) {

}